const mongoose = require('../db');
const Schema = mongoose.Schema;

const DistSchema = new Schema({
  name: { type: String, require: true },
  type: { type: String, require: true },
  remarks: { type: String, require: false },
  values: { type: Array, require: false }
})

const DistModel = mongoose.model('dist', DistSchema);

module.exports = DistModel;